package com.voja.mrvica2.rss;

import android.app.Activity;

public class TaskRunnable implements Runnable {
        
    private Activity activity;
    private String url = "", before = "", complete = "";
    
    public TaskRunnable(Activity activity, String url, String before, String complete) {
        this.activity = activity;
        this.url      = url;
        this.before   = before;
        this.complete = complete;
    }
    
    @Override
    public void run() {
        (new FeedTask(activity, url, before, complete)).execute();
    }
}
